#ifndef FILERESTOREDIALOG_H
#define FILERESTOREDIALOG_H

#include <QDialog>
#include "../CommunicateDelegate/hmicommunicate.h"

namespace Ui {
class FileRestoreDialog;
}

class FileRestoreDialog : public QDialog
{
    Q_OBJECT


public:
    explicit FileRestoreDialog(GlobalData *globalDataIn,QWidget *parent=0);
    ~FileRestoreDialog();

    void changeLanguage();

signals:
    /**
     * @brief msgBoxSignal              通知 打开消息框
     */
    void msgBoxSignal(int type,QString title,QString text);

    /**
     * @brief restoreFile　还原文件函数
     * @param restoreFileLocation　还原文件路径
     */
    void restoreFile(QString restoreFileLocation);

private slots:
    void on_restore_clicked();

    void on_exployer_clicked();

    void on_radioButton_clicked();

    void on_radioButton_2_clicked();

    void on_returnBtn_clicked();

public:

    /**
     * @brief restoreFileLocation　还原文件路径
     */
    QString restoreFileLocation;

    QString path;



private:
    Ui::FileRestoreDialog *ui;
    //
    GlobalData *globalData;
};

#endif // FILERESTOREDIALOG_H
